package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.dto.system.AssginMenuDto;

import java.util.Map;

/**
 * ClassName: SysRoleMenuService
 * Package:
 * Description:
 *
 * @Author:xiaohei
 * @Create 2024/5/19 15:48
 * Version 1.0
 */
public interface SysRoleMenuService {

    /**
     * 查询所有菜单和查询角色分配过菜单id列表
     * @param roleId
     * @return
     */
    Map<String, Object> findSysRoleMenuByRoleId(Long roleId);

    //为角色分配菜单
    void doAssign(AssginMenuDto assginMenuDto);
}
